package com.guigu.buy.mapper;

import com.guigu.buy.pojo.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> getMenuList(@Param("loginName") String loginName,@Param("password") String password);

    List<SysMenu> getsecondlevelmenu(@Param("loginName") String loginName,@Param("password") String password,@Param("parentId") Integer parentId);
}
